# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Gui\SCDateSchedDialog.ui'
#
# Created: Fri Feb 19 17:06:40 2010
#      by: PyQt4 UI code generator 4.5.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SCDateSchedDialog(object):
    def setupUi(self, SCDateSchedDialog):
        SCDateSchedDialog.setObjectName("SCDateSchedDialog")
        SCDateSchedDialog.resize(182, 183)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(SCDateSchedDialog.sizePolicy().hasHeightForWidth())
        SCDateSchedDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(SCDateSchedDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.startLabel = QtGui.QLabel(SCDateSchedDialog)
        self.startLabel.setObjectName("startLabel")
        self.horizontalLayout.addWidget(self.startLabel)
        self.startDateEdit = QtGui.QDateEdit(SCDateSchedDialog)
        self.startDateEdit.setDateTime(QtCore.QDateTime(QtCore.QDate(2010, 1, 1), QtCore.QTime(0, 0, 0)))
        self.startDateEdit.setCalendarPopup(True)
        self.startDateEdit.setObjectName("startDateEdit")
        self.horizontalLayout.addWidget(self.startDateEdit)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.endLabel = QtGui.QLabel(SCDateSchedDialog)
        self.endLabel.setObjectName("endLabel")
        self.horizontalLayout_2.addWidget(self.endLabel)
        self.endDateEdit = QtGui.QDateEdit(SCDateSchedDialog)
        self.endDateEdit.setEnabled(True)
        self.endDateEdit.setDateTime(QtCore.QDateTime(QtCore.QDate(2010, 1, 1), QtCore.QTime(0, 0, 0)))
        self.endDateEdit.setCalendarPopup(True)
        self.endDateEdit.setObjectName("endDateEdit")
        self.horizontalLayout_2.addWidget(self.endDateEdit)
        self.gridLayout.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.freqLabel = QtGui.QLabel(SCDateSchedDialog)
        self.freqLabel.setObjectName("freqLabel")
        self.horizontalLayout_3.addWidget(self.freqLabel)
        self.freqBox = QtGui.QComboBox(SCDateSchedDialog)
        self.freqBox.setEnabled(True)
        self.freqBox.setObjectName("freqBox")
        self.horizontalLayout_3.addWidget(self.freqBox)
        self.gridLayout.addLayout(self.horizontalLayout_3, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.fillSelButton = QtGui.QRadioButton(SCDateSchedDialog)
        self.fillSelButton.setObjectName("fillSelButton")
        self.verticalLayout.addWidget(self.fillSelButton)
        self.untilEndButton = QtGui.QRadioButton(SCDateSchedDialog)
        self.untilEndButton.setChecked(True)
        self.untilEndButton.setObjectName("untilEndButton")
        self.verticalLayout.addWidget(self.untilEndButton)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_2.addItem(spacerItem)
        self.dirBox = QtGui.QComboBox(SCDateSchedDialog)
        self.dirBox.setObjectName("dirBox")
        self.dirBox.addItem(QtCore.QString())
        self.dirBox.addItem(QtCore.QString())
        self.verticalLayout_2.addWidget(self.dirBox)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)
        self.gridLayout.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(SCDateSchedDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 1)

        self.retranslateUi(SCDateSchedDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SCDateSchedDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SCDateSchedDialog.reject)
        QtCore.QObject.connect(self.fillSelButton, QtCore.SIGNAL("toggled(bool)"), self.endDateEdit.setDisabled)
        QtCore.QObject.connect(self.untilEndButton, QtCore.SIGNAL("toggled(bool)"), self.dirBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(SCDateSchedDialog)

    def retranslateUi(self, SCDateSchedDialog):
        SCDateSchedDialog.setWindowTitle(QtGui.QApplication.translate("SCDateSchedDialog", "Date Scheduler", None, QtGui.QApplication.UnicodeUTF8))
        self.startLabel.setText(QtGui.QApplication.translate("SCDateSchedDialog", "Start Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.endLabel.setText(QtGui.QApplication.translate("SCDateSchedDialog", "End Date:", None, QtGui.QApplication.UnicodeUTF8))
        self.freqLabel.setText(QtGui.QApplication.translate("SCDateSchedDialog", "Freq:", None, QtGui.QApplication.UnicodeUTF8))
        self.fillSelButton.setText(QtGui.QApplication.translate("SCDateSchedDialog", "Fill Selection", None, QtGui.QApplication.UnicodeUTF8))
        self.untilEndButton.setText(QtGui.QApplication.translate("SCDateSchedDialog", "Until End", None, QtGui.QApplication.UnicodeUTF8))
        self.dirBox.setItemText(0, QtGui.QApplication.translate("SCDateSchedDialog", "vertically", None, QtGui.QApplication.UnicodeUTF8))
        self.dirBox.setItemText(1, QtGui.QApplication.translate("SCDateSchedDialog", "horizontally", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    SCDateSchedDialog = QtGui.QDialog()
    ui = Ui_SCDateSchedDialog()
    ui.setupUi(SCDateSchedDialog)
    SCDateSchedDialog.show()
    sys.exit(app.exec_())

